//
//  PMView.h
//  PezMonkeyTest
//
//  Created by Spence DiNicolantonio on 11/3/09.
//  Copyright 2009 Necrosoft. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import "PMDemo.h"


@interface PMView : NSOpenGLView {
	PMDemo *demo;
	PMBody *mouseBody;
	PMShape *mouseShape;
	PMConstraint *mouseJoint;
	PMVect mousePoint;
}

@property (nonatomic, retain) PMDemo *demo;
@property (nonatomic, retain) PMBody *mouseBody;
@property (nonatomic, retain) PMShape *mouseShape;
@property (nonatomic, retain) PMConstraint *mouseJoint;

- (void)startDemo:(NSString *)letter;
- (void)startDemo;
- (PMVect)mouseToSpace:(NSPoint)point;

@end
